package com.hq.mybatiswork2.controller;

import org.springframework.steretype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.spingframework.web.bind.annotation.RestControl
@Controller
public class TestController {


    @GetMapping("/test")
    @ResponseBody
   public String test(){
       return"Hello world";
   }
   @GetMapping("/d")
    public String login(){
        return "login";
    }

}
